package com.googlecode.gwtbb.client.only.widget.basic;

import java.util.EventObject;

/**
 * @author Abraham Grief
 * @version $Id$
 * @since Apr 30, 2008
 */
public class AsyncFileUploadValidateFileNameEvent extends EventObject {
	private String fileName;
	private boolean invalid;
	private String errorMsg;

	public AsyncFileUploadValidateFileNameEvent() {
		super(null);
	}

	public AsyncFileUploadValidateFileNameEvent(Object source, String fileName) {
		super(source);
		this.fileName = fileName;
	}

	public String getErrorMsg() {
		return errorMsg;
	}

	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public boolean isInvalid() {
		return invalid;
	}

	public void setInvalid(boolean invalid) {
		this.invalid = invalid;
	}
}
